package com.zhuiyun.project.api.plan.fitnessPlanActionCount.service;

import com.zhuiyun.project.api.plan.fitnessPlanAction.entity.FitnessPlanAction;
import com.zhuiyun.project.api.plan.fitnessPlanActionCount.entity.FitnessPlanActionCount;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import com.zhuiyun.project.utils.pageUtil.PageResult;

/**
* @Author 杨珅
* @Description todo 目的业务层
* @Date 2023/11/2 9:02
* @Return  * @param null
*/
public interface FitnessPlanActionCountService {
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作分页查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    PageResult selectAll(PageRequest pageRequest, Integer planActionId);
//    /**
//     * @Author 杨珅
//     * @Description todo 根据目的id全查标签
//     * @Date 2023/11/2 9:28
//     * @Return  * @param null
//     */
//    PageResult selectTypes(PageRequest pageRequest, Integer fitnessPurposeId);
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult insertFitnessPlanActionCount(FitnessPlanActionCount fitnessPlanActionCount)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作修改
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult updateFitnessPlanActionCount(FitnessPlanActionCount fitnessPlanActionCount)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作删除
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult deleteFitnessPlanActionCount(FitnessPlanActionCount fitnessPlanActionCount);
}
